/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.fee.mapper;

import com.jeeplus.core.persistence.BaseMapper;
import com.jeeplus.core.persistence.annotation.MyBatisMapper;
import com.jeeplus.modules.fee.entity.BillDetail;

import java.util.List;

/**
 * 收款单子表MAPPER接口
 * @author weisong
 * @version 2017-09-22
 */
@MyBatisMapper
public interface BillDetailMapper extends BaseMapper<BillDetail> {
    //根据收款单主表id关联收款单与收款单明细表
    public List<BillDetail> findBillDetailById(String id);

    //根据发票子表id获取收款单子表数据
    public List<BillDetail> findAllBillDetailById(String id);

    //根据发票id获取收款单子表
    public List<BillDetail> findBillDetailByInvoiceId(String invoiceId, String detailId );
}